//
//  ZYXDownCell.m
//  RuiBeiKang
//
//  Created by iOS开发1 on 2019/1/12.
//  Copyright © 2019年 JW. All rights reserved.
//

#import "ZYXDownCell.h"

#import "ZYXClassNameModel.h"
@implementation ZYXDownCell
//- (void)layoutSubviews
//{
//    [super layoutSubviews];
//    
//    for (UIView *subView in self.subviews) {
//        
//        if ([NSStringFromClass([subView class]) isEqualToString:@"UITableViewCellDeleteConfirmationView"]) {
//            
//            UIView *bgView=(UIView *)[subView.subviews firstObject];
//            
//             bgView.backgroundColor = [UIColor purpleColor];
//            
//        }
//        
//        
//    }
//    
//}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setItem:(YCDownloadItem *)item {
    
    _item = item;
    
    ZYXClassNameDerailModel *mo = [ZYXClassNameDerailModel infoWithData:item.extraData];
    self.titleLabel.text = mo.title;
    NSLog(@"savePath = %@",item.savePath);
}

@end
